

import java.util.ArrayList;

public class Format {
	private int NoFormat;
	private ArrayList<Integer> TabOctetB10;
	
	public Format(int noFormat) {
		super();
		NoFormat = noFormat;
		TabOctetB10 =new ArrayList<Integer>();
	}
	
	@Override
	public String toString() {
		String res;
		res= "F" + NoFormat + " "; 
		for(int i=0;i<TabOctetB10.size();++i){
		res+=TabOctetB10.get(i);
		res+=" ";
		}
		if (TabOctetB10.isEmpty()){
			return res= "F" + 0 + " "+"C345dE";
		}
		return res;
	}



	public void setTabOctetB10(ArrayList<Integer> tabOctetB10) {
		TabOctetB10 = tabOctetB10;
	}


}
